package com.flyco.modules.ums.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 经销商表
 * @Author: flyco
 * @Date:   2022-04-18
 * @Version: V1.0
 */
@Data
@TableName("ums_distributor")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ums_distributor对象", description="经销商表")
public class UmsDistributor {
    
	/**id*/
	@TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "id")
	private Long id;
	/**客戶类型:1经销商 2网点 9其他*/
	@Excel(name = "客戶类型:1经销商 2网点 9其他", width = 15)
    @ApiModelProperty(value = "客戶类型:1经销商 2网点 9其他")
	private Integer customerType;
	/**客戶编码*/
	@Excel(name = "客戶编码", width = 15)
    @ApiModelProperty(value = "客戶编码")
	private String customerCode;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
	private String customerName;
	/**助记码*/
	@Excel(name = "助记码", width = 15)
    @ApiModelProperty(value = "助记码")
	private String helpCode;
	/**客戶地址*/
	@Excel(name = "客戶地址", width = 15)
    @ApiModelProperty(value = "客戶地址")
	private String customerAddress;
	/**手机*/
	@Excel(name = "手机", width = 15)
    @ApiModelProperty(value = "手机")
	private String customerMobile;
	/**经销商老板*/
	@Excel(name = "经销商老板", width = 15)
    @ApiModelProperty(value = "经销商老板")
	private String customerBoss;
	/**经度*/
	@Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度")
	private java.math.BigDecimal longitude;
	/**维度*/
	@Excel(name = "维度", width = 15)
    @ApiModelProperty(value = "维度")
	private java.math.BigDecimal dimension;
	/**定位*/
	@Excel(name = "定位", width = 15)
    @ApiModelProperty(value = "定位")
	private String position;
	/**渠道*/
	@Excel(name = "渠道", width = 15)
    @ApiModelProperty(value = "渠道")
	private String channelId;
	/**部门*/
	@Excel(name = "部门", width = 15)
    @ApiModelProperty(value = "部门")
	private String departmentId;
	/**区域ID*/
	@Excel(name = "区域ID", width = 15)
    @ApiModelProperty(value = "区域ID")
	private String areaId;
	/**省*/
	@Excel(name = "省", width = 15)
    @ApiModelProperty(value = "省")
	private String province;
	/**市*/
	@Excel(name = "市", width = 15)
    @ApiModelProperty(value = "市")
	private String city;
	/**区/县*/
	@Excel(name = "区/县", width = 15)
    @ApiModelProperty(value = "区/县")
	private String area;
	/**销售员*/
	@Excel(name = "销售员", width = 15)
    @ApiModelProperty(value = "销售员")
	private String salesManId;
	/**开始时间*/
	@Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
	private Date startTime;
	/**结束时间*/
	@Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
	private Date endTime;
	/**isActive*/
	@Excel(name = "isActive", width = 15)
    @ApiModelProperty(value = "isActive")
	private Integer isActive;
	/**是否已刪除*/
	@Excel(name = "是否已刪除", width = 15)
    @ApiModelProperty(value = "是否已刪除")
	private Integer isDeleted;
	/**公司*/
	@Excel(name = "公司", width = 15)
    @ApiModelProperty(value = "公司")
	private Integer companyCode;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private String updateBy;
	/**系统备注*/
	@Excel(name = "系统备注", width = 15)
    @ApiModelProperty(value = "系统备注")
	private String sysRemark;
	/**客户ID*/
	@Excel(name = "客户ID", width = 15)
    @ApiModelProperty(value = "客户ID")
	private Long memberId;
}
